#pragma once

#include "../LineDetector.h"

/** A base class for different type of hough transform line detectors
 *
 * @see StandardHoughTransformLineDetector ProbabilisticHoughTransformLineDetector
 */
class HoughTransformLineDetector : public LineDetector {
public:
	HoughTransformLineDetector(double rhoPrecision, double thetaPrecision, int threshold);
	virtual ~HoughTransformLineDetector(void);

public:

public:
	virtual std::vector<Line> detect(const IplImage* im) = 0;

protected:
	double  rhoPrecision;
	double  thetaPrecision;
	int     threshold;

	//canny parameters

};
